package com.htjc.integral;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;
import org.springframework.web.client.RestTemplate;


/**
 * 启动类
 * 
 * @author zjj ˙ 2018.6.4 ,exclude = { DataSourceAutoConfiguration.class,
 *         JpaRepositoriesAutoConfiguration.class,
 *         HibernateJpaAutoConfiguration.class }(scanBasePackages = {"com.htjc"})
 */
@SpringBootApplication
public class AccountApplication {

	public static void main(String[] args) {
		SpringApplication.run(AccountApplication.class, args);

	}

	@Bean
	RestTemplate restTemplate() {
		return new RestTemplate();
	}

}
